package guoanmaker.operator.business.model;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_operator_app_banner")
public class OperatorAppBanner extends IdEntity {
	private Integer itemLevel;//显示级别
	private String serverId;//二级服务
	private String serverFirstId;//一级服务
	private String url;
	private String iconPath;
	private Integer weight;
	private Integer isHot;//热门 1是热门，0是不热
	private Integer isNew;//新的1是新的  0，不新
	private Date createDate;
	private String cityId;
	@Transient
	private String copyitemLevel;
	@Transient
	private boolean fasehot;
	@Transient
	private boolean fasenew;
	@Transient
	private int serverType;//服务类型 1空间 2其他
	@Transient
	private String serverName;
//	@OneToOne
//	private OperatorServerClass operatorServerClass;
	
	private String banType;//1是服务类型  2是自定义类型（直接放产品）
	private String commitName;//自定义产品的名称
	private String commitUrl;//自定义产品链接地址
	private String commitPic;//自定义产品图标

}
